import xmlrpclib

def info(host):
    link = "http://%s:22223"%host
    server = xmlrpclib.ServerProxy(link)
    return server
    #print server.listMethods()
    #host.get_dynamic_info', '
#    print server.host.get_info()
#    print server.host.get_static_info()